@echo off

REM This script should be runned from Microsoft Visual Studio Command Prompt

call make.cmd

SET ex_build=build_example

mkdir "%ex_build%"
copy "build\AmiCoPyJava.dll" "%ex_build%"
javac -d "%ex_build%" example\HelloUniverse\HelloUniverse.java
copy "example\HelloUniverse\HelloUniverse.py" "%ex_build%"
cd "%ex_build%"

echo -------------------
echo Running "HelloUniverse" examplse
echo -------------------

python HelloUniverse.py